package com.zg.common.core.dao.indiv.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.zg.common.core.dao.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.JdbcType;

/**
* @author zg
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class IndivFolder extends BaseEntity {

    /**
    * 租户id
    */
    private Long tenantId;
    /**
    * 空间id
    */
    private Long spaceId;
    /**
    * 上级目录id，0代表一级目录
    */
    private Long parentId;
    /**
    * 目录名称
    */
    private String name;
    /**
     * 标签，多个以,隔开
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS, jdbcType = JdbcType.VARCHAR)
    private String tags;

}
